-- GENERATED SPELL FOR [Janela Stouthammer] --


function spell0_15443(pUnit, Event) --@Crusader Strike,n/a--
pUnit:FullCastSpellOnTarget(14518,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15443', 30292, 1)
end

function spell1_15443(pUnit, Event) --@Holy Light,Heal--
pUnit:FullCastSpellOnTarget(25263,pUnit)
pUnit:RegisterEvent('Sorts_15443', 2500, 1)
end

function Sorts_15443(pUnit, Event)
local choix_sorts_15443 = math.random(0, 1)
if choix_sorts_15443 == 0 then
pUnit:RegisterEvent('spell0_15443', 1, 1)
end
if choix_sorts_15443 == 1 then
pUnit:RegisterEvent('spell1_15443', 1, 1)
end
end

function mob15443_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15443', math.random(1500, 3000), 1)
end

function mob15443_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15443_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15443_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15443, 1, 'mob15443_Action')
RegisterUnitEvent(15443, 2, 'mob15443_Leave')
RegisterUnitEvent(15443, 3, 'mob15443_Kill')
RegisterUnitEvent(15443, 4, 'mob15443_Die')
